package space.xxhui.util;

import org.springframework.web.context.ServletContextAware;

import javax.servlet.ServletContext;

/**
 * Created by hui on 2017/7/18.
 */
public class SpringContextUtil implements ServletContextAware {

    private static ServletContext servletContext;

    public void setServletContext(ServletContext servletContext) {

        this.servletContext=servletContext;

    }

    public static ServletContext getServletContext() {

        return servletContext;

    }
}
